CREATE TABLE [dbo].[DrugDiscount]
(
[MemberType] [nvarchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DrugId] [nvarchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DiscountPercent] [int] NOT NULL,
[Remark] [nvarchar] (250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
ALTER TABLE [dbo].[DrugDiscount] WITH NOCHECK ADD
CONSTRAINT [FK_DrugDiscount_DrugDispo] FOREIGN KEY ([DrugId]) REFERENCES [dbo].[DrugDispo] ([DrugId])
GO
ALTER TABLE [dbo].[DrugDiscount] ADD CONSTRAINT [PK_DrugDiscount] PRIMARY KEY CLUSTERED  ([MemberType], [DrugId]) ON [PRIMARY]
GO
